// import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import App from "./App.tsx";
import "../src/styles/css/global.css";
import { store } from "./store";
import { Provider } from "react-redux";
import { setupLoading } from "./plugins/loading";

const container = document.getElementById("root");
const root = createRoot(container!);

function setupApp() {
  setupLoading();

  root.render(
    <Provider store={store}>
      <App />
    </Provider>
  );
}

setupApp();
